# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=plattenalbum
pkgver=2.1.0
pkgrel=0
pkgdesc="Browse music with MPD"
url="https://github.com/SoongNoonien/plattenalbum"
arch="noarch"
license="GPL-3.0-only"
depends="
	gettext
	libadwaita
	py3-gobject3
	py3-mpd2
	python3
	"
makedepends="
	desktop-file-utils
	glib-dev
	gtk-update-icon-cache
	meson
	"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/SoongNoonien/plattenalbum/archive/refs/tags/v$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild -C output
}

package() {
	meson install --no-rebuild --destdir "$pkgdir" -C output
}

sha512sums="
2f91424dd5e70b9a99fccc131c93016724b4da1df41c695ece22dcf911003528c5d050b2c57c3b47c2f86d6fb07f31b610a353f5a1dd3c7febd22aa164da00cd  plattenalbum-2.1.0.tar.gz
"
